<div class="user-center-title pt-0 pl-0">
<ul class="user_nav_get" id="pids">
<li {empty name="param['cid']"}class="active"{/empty} data-url="{:zanpian_user_url('user/center/gb',array('op'=>1))}">全部留言</li>
{volist name="catalogs" id="catalog"}
<li {eq name="catalog['list_id']" value="$param['cid']"}class="active"{/eq} data-url="{:zanpian_user_url('user/center/gb',array('op'=>1,'cid'=>$catalog.list_id,'p'=>1))}">{$catalog.list_name}<span>{$catalog.count}</span></li>
{/volist}
</ul>
<button type="button" class="pull-right btn btn-success" id="user-edit" data-url="{:zanpian_user_url('user/center/addgb')}">发布留言</button>
</div>
{gb var="list" uid="'.$userinfo['user_id'].'" cid="'.$param['cid'].'" limit="10" status="1" page="true"  order="gb_addtime desc"}{/gb}
{notempty name="list"}
<form id="clearcomm" method="post">
  <div class="comment-focus m-0">
    <ul class="comment-ul" id="list">
   {volist name="list" id="zanpian"}
    <li>
    <label class='label-checkbox'><input name='id[]' value='{$zanpian['gb_id']}' type='checkbox'/></label>
    <div class='user-txt-list-cnt'><h5><span class='date-time'>{$zanpian.gb_addtime|time_format='Y-m-d H:i:s',1}</span>
    {eq name="zanpian.gb_status" value="0"}<span class='text-danger'>【等待管理审核】</span>{/eq}
    
    <strong>【{$list_name[$zanpian['gb_cid']]}】 : </strong>{$zanpian['gb_title']|strip_tags}<a class='mdel' href='javascript:void(0)' data='{:zanpian_user_url('user/center/delgb',array('id'=>$zanpian['gb_id']))}'>删除</a></h5><p>{$zanpian.gb_content|strip_tags}</p><div class='mymsg-list-cnt'>
{empty name="zanpian.gb_intro"}<strong>管理员回复：</strong>我们会尽快回复您{else /}<strong>管理员回复：</strong>{$zanpian.gb_intro}{/empty}</div></div></li>
   {/volist}      
    </ul>
  </div>
  </form>
    <div class="check-del">
    <label class="label-checkbox" for="checkall" hidefocus="">
    <input type="checkbox" id="checkall" class="delcheckall">全选</label>
    <a class="btn btn-danger btn-xs clearall" href="javascript:;" data="{:zanpian_user_url('user/center/delgb')}">删除</a></div>
<div class="box-page clearfix ajax-page" id="long-page"><ul id="pages">{$list->render()}</ul></div>
  {else/}
  <div class="kong">抱歉，没有找到相关内容！</div>
  {/notempty}